package cn.webrx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-05-23 12:51
 */
@Controller
public class IndexController {
    @RequestMapping("/home")
    public String home(Model model) {
        model.addAttribute("msg","欢迎一下");
        return "home";
    }
}
